import request from "@/utils/request";

export function getTalks(data) {
  return request({
    url: '/api/talk/get/all',
    method: 'get',
    params:{...data}
  })
}

export function deleteTalk(id) {
  return request({
    url: '/api/talk/del',
    method: 'get',
    params:{id}
  })
}

export function getAllTalkComment(data) {
  return request({
    url:'/api/comment/get/all/talk',
    method:'get',
    params:data
  })
}

